﻿<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <link rel="stylesheet" type="text/css" href="/HR_SYSTEM/Styles/bootstrap.min.css" />
    <link rel="stylesheet" type="text/css" href="/HR_SYSTEM/Styles/admin-all.css" />
    <script type="text/javascript" src="/HR_SYSTEM/Scripts/jquery-1.7.2.js"></script>
    <script type="text/javascript" src="/HR_SYSTEM/Scripts/jquery-ui-1.8.22.custom.min.js"></script>
    <link rel="stylesheet" type="text/css" href="/HR_SYSTEM/Styles/ui-lightness/jquery-ui-1.8.22.custom.css" />
    <script type="text/javascript" src="/HR_SYSTEM/Scripts/tip.js"></script>
    <script type="text/javascript">
	    function updateSalary(){
    		document.forms["form_add"].submit();
    	}
    </script>
</head>
<body>
    <div></div>
    <div class="alert alert-info">当前位置<b class="tip"></b>管理界面<b class="tip"></b>提交奖金申请</div>
    <form action="<c:url value='/SalaryServlet'/>" name="form_add" method="post">
     <input type="hidden" name="method" value="addSalaryInit"/>
     <table class="table table-striped table-bordered table-condensed">
     	<tr><span><font color="red"><strong>${msg}</strong></font></span></tr>
     	<tr>
            <td>工资编号:</td>
            <td>自动生成</td>
        </tr>
     	<tr>
            <td>员工选择:</td>
            <td>
				<select name="user_id">
					<c:forEach items="${list_user}" var="user">
						<option value="${user.user_id}">${user.username}</option>
					</c:forEach>
				</select>
			</td>
        </tr>
 		<tr>
            <td>基本工资金额:</td>
            <td><input type="text" name="salary_basic"/></td>
 		</tr>
 		<tr>
            <td>设置基础工资所在月:</td>
            <td>
            	<select name="month">
            		<option value="1">1月</option>
            		<option value="2">2月</option>
            		<option value="3">3月</option>
            		<option value="4">4月</option>
            		<option value="5">5月</option>
            		<option value="6">6月</option>
            		<option value="7">7月</option>
            		<option value="8">8月</option>
            		<option value="9">9月</option>
            		<option value="10">10月</option>
            		<option value="11">11月</option>
            		<option value="12">12月</option>
            	</select>
            </td>
 		</tr>
 		<tr>
            <td colspan="2">
                <input class="btn btn-inverse" id="button" type="button" onClick="updateSalary()" value="确认添加基础工资" />&nbsp;
                <input class="btn btn-inverse" type="reset" value="清空" />&nbsp;
            </td>
        </tr>
 	</table>
    </form>
</body>
</html>
